#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
}

Widget::~Widget()
{
    delete ui;
}




void Widget::on_pushButton_light_clicked()
{
    this->setStyleSheet("background-color:rgb(240,240,111);");
    ui->plainTextEdit->setStyleSheet("background-color:rgb(255,255,255));color:green;");
    ui->pushButton_drak->setStyleSheet("color:rgb(255,255,255);");
    ui->pushButton_light->setStyleSheet("color:rgb(255,255,255);");
}

void Widget::on_pushButton_drak_clicked()
{
    this->setStyleSheet("background-color:rgb(90,90,117);");
    ui->plainTextEdit->setStyleSheet("background-color:rgb(0,0,0));color:#000;");
    ui->pushButton_drak->setStyleSheet("color:rgb(255,255,255);");
    ui->pushButton_light->setStyleSheet("color:rgb(255,255,255);");
}
